import Layout from '@/layout'

const warehouseRouter = {
  path: '/warehouse',
  component: Layout,
  meta: {
    title: '仓库',
    icon: 'documentation',
    affix: false
  },
  children: [
	  {
	    path: '/warehouse/administer',
	    component: () => import('@/views/warehouse/administer'),
	    name: 'administer',
	    meta: {
	      title: '仓库管理',
	      icon: 'documentation',
	      affix: false
	    }
	  },
    {
      path: '/warehouse/housing',
      component: () => import('@/views/warehouse/housing'),
      name: 'housing',
      meta: {
        title: '配送小区',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/warehouse/storage',
      component: () => import('@/views/warehouse/storage'),
      name: 'storage',
      meta: {
        title: '入库管理',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/warehouse/inquire',
      component: () => import('@/views/warehouse/inquire'),
      name: 'inquire',
      meta: {
        title: '入库查询',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/warehouse/tostorage',
      component: () => import('@/views/warehouse/tostorage'),
      name: 'tostorage',
      meta: {
        title: '出库管理',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/warehouse/toinquire',
      component: () => import('@/views/warehouse/toinquire'),
      name: 'toinquire',
      meta: {
        title: '出库查询',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/warehouse/check',
      component: () => import('@/views/warehouse/check'),
      name: 'check',
      meta: {
        title: '盘点管理',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/warehouse/existing',
      component: () => import('@/views/warehouse/existing'),
      name: 'existing',
      meta: {
        title: '现有库存',
        icon: 'documentation',
        affix: false
      }
    },
  ]
}
export default warehouseRouter
